<template>
   <!-- 加载图标样式11 -->
   <div class="loading">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
   </div>
</template>

<script setup>

</script>

<style scoped lang='scss'>
.loading>div,
.loading {
   box-sizing: border-box;
   position: relative
}

.loading {
   color: #000;
   display: block;
   font-size: 0;
   height: 48px;
   width: 48px
}

.loading>div {
   animation-iteration-count: infinite;
   animation-name: ball-grid-pulse;
   border-radius: 100%;
   display: inline-block;
   float: none;
   height: 10px;
   margin: 2px;
   width: 10px
}

.loading>div:first-child {
   animation-delay: .03s;
   animation-duration: .65s;
   background-color: #1678ff
}

.loading>div:nth-child(2) {
   animation-delay: .09s;
   animation-duration: 1.02s;
   background-color: #ea4e3d
}

.loading>div:nth-child(3) {
   animation-delay: -.69s;
   animation-duration: 1.06s;
   background-color: #04be02
}

.loading>div:nth-child(4) {
   animation-delay: -.41s;
   animation-duration: 1.5s;
   background-color: #ffaa09
}

.loading>div:nth-child(5) {
   animation-delay: .04s;
   animation-duration: 1.6s;
   background-color: #1678ff
}

.loading>div:nth-child(6) {
   animation-delay: .07s;
   animation-duration: .84s;
   background-color: #e229ff
}

.loading>div:nth-child(7) {
   animation-delay: -.66s;
   animation-duration: .68s;
   background-color: #ea4e3d
}

.loading>div:nth-child(8) {
   animation-delay: -.76s;
   animation-duration: .93s;
   background-color: #04be02
}

.loading>div:nth-child(9) {
   animation-delay: -.76s;
   animation-duration: 1.24s;
   background-color: #ffaa09
}

.loading.la-sm {
   height: 18px;
   width: 18px
}

.loading.la-sm>div {
   height: 4px;
   margin: 1px;
   width: 4px
}

.loading.la-2x {
   height: 72px;
   width: 72px
}

.loading.la-2x>div {
   height: 16px;
   margin: 4px;
   width: 16px
}

.loading.la-3x {
   height: 108px;
   width: 108px
}

.loading.la-3x>div {
   height: 24px;
   margin: 6px;
   width: 24px
}

@keyframes ball-grid-pulse {
   0% {
      opacity: 1;
      transform: scale(1)
   }

   50% {
      opacity: .35;
      transform: scale(.45)
   }

   to {
      opacity: 1;
      transform: scale(1)
   }
}
</style>
